<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
    "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
<html><head>
    <title>Methods</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta name="generator" content="HeaderDoc">
<style type="text/css"><!--a:link {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:active {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}h4 {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: tiny; font-weight: bold;}body {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: 10pt;}--></style></head><body bgcolor="#ffffff">
<h1><font face="Geneva,Arial,Helvtica">Methods</font></h1><br>
<a name="HeaderDoc_methods"></a>
<dl>
<dt><tt><a href="Methods.html#//apple_ref/occ/clm/HostIPLookup/countryCodeForAddress:" target="doc">+countryCodeForAddress:</a></tt></dt>
<dd>Returns a country code for the desired IP addresses.
</dd>
<dt><tt><a href="Methods.html#//apple_ref/occ/clm/HostIPLookup/countryCodeForHostname:" target="doc">+countryCodeForHostname:</a></tt></dt>
<dd>Returns a country code for the desired hostname.
</dd>
<dt><tt><a href="Methods.html#//apple_ref/occ/clm/HostIPLookup/geodataForAddress:" target="doc">+geodataForAddress:</a></tt></dt>
<dd>Returns the full query results for the desired address.
</dd>
<dt><tt><a href="Methods.html#//apple_ref/occ/clm/HostIPLookup/geodataForHostname:" target="doc">+geodataForHostname:</a></tt></dt>
<dd>Returns the full query results for the desired hostname.
</dd>
<dt><tt><a href="Methods.html#//apple_ref/occ/clm/HostIPLookup/lookupAddress:" target="doc">+lookupAddress:</a></tt></dt>
<dd>Returns a HostIPLookupResult object for the desired IP address.
</dd>
<dt><tt><a href="Methods.html#//apple_ref/occ/clm/HostIPLookup/lookupAddresses:" target="doc">+lookupAddresses:</a></tt></dt>
<dd>Returns a HostIPLookupResult objects array for the desired IP addresses.
</dd>
</dl>
<hr><!-- headerDoc=clm;  uid=//apple_ref/occ/clm/HostIPLookup/countryCodeForAddress:;  name=HostIPLookup::countryCodeForAddress: -->
<a name="//apple_ref/occ/clm/HostIPLookup/countryCodeForAddress:"></a>
<table border="0"  cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="countryCodeForAddress:">countryCodeForAddress:</a></h3>
</td></tr></table><hr><dl></dl><p>Returns a country code for the desired IP addresses.
</p>
<blockquote><pre>+ (<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<!-- a logicalPath="//apple_ref/occ/instm/countryCodeForAddress //apple_ref/occ/clm/countryCodeForAddress //apple_ref/occ/intfcm/countryCodeForAddress //apple_ref/occ/func/countryCodeForAddress //apple_ref/occ/ftmplt/countryCodeForAddress //apple_ref/occ/defn/countryCodeForAddress //apple_ref/occ/macro/countryCodeForAddress" --><font class="function">countryCodeForAddress</font><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<font class="param">addr</font>;</pre></blockquote>
<h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5>
<blockquote>
<dl>
<dt><code><i>addr</i></code></dt><dd>An IP address to lookup</dd>
</dl>
</blockquote>
<dl></dl>
<hr><!-- headerDoc=clm;  uid=//apple_ref/occ/clm/HostIPLookup/countryCodeForHostname:;  name=HostIPLookup::countryCodeForHostname: -->
<a name="//apple_ref/occ/clm/HostIPLookup/countryCodeForHostname:"></a>
<table border="0"  cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="countryCodeForHostname:">countryCodeForHostname:</a></h3>
</td></tr></table><hr><dl></dl><p>Returns a country code for the desired hostname.
</p>
<blockquote><pre>+ (<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<!-- a logicalPath="//apple_ref/occ/instm/countryCodeForHostname //apple_ref/occ/clm/countryCodeForHostname //apple_ref/occ/intfcm/countryCodeForHostname //apple_ref/occ/func/countryCodeForHostname //apple_ref/occ/ftmplt/countryCodeForHostname //apple_ref/occ/defn/countryCodeForHostname //apple_ref/occ/macro/countryCodeForHostname" --><font class="function">countryCodeForHostname</font><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<font class="param">hostname</font>;</pre></blockquote>
<h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5>
<blockquote>
<dl>
<dt><code><i>hostname</i></code></dt><dd>A hostname to lookup</dd>
</dl>
</blockquote>
<dl></dl>
<hr><!-- headerDoc=clm;  uid=//apple_ref/occ/clm/HostIPLookup/geodataForAddress:;  name=HostIPLookup::geodataForAddress: -->
<a name="//apple_ref/occ/clm/HostIPLookup/geodataForAddress:"></a>
<table border="0"  cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="geodataForAddress:">geodataForAddress:</a></h3>
</td></tr></table><hr><dl></dl><p>Returns the full query results for the desired address.
</p>
<blockquote><pre>+ (<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<!-- a logicalPath="//apple_ref/occ/instm/geodataForAddress //apple_ref/occ/clm/geodataForAddress //apple_ref/occ/intfcm/geodataForAddress //apple_ref/occ/func/geodataForAddress //apple_ref/occ/ftmplt/geodataForAddress //apple_ref/occ/defn/geodataForAddress //apple_ref/occ/macro/geodataForAddress" --><font class="function">geodataForAddress</font><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<font class="param">addr</font>;</pre></blockquote>
<h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5>
<blockquote>
<dl>
<dt><code><i>addr</i></code></dt><dd>An IP address to lookup.</dd>
</dl>
</blockquote>
<dl></dl>
<hr><!-- headerDoc=clm;  uid=//apple_ref/occ/clm/HostIPLookup/geodataForHostname:;  name=HostIPLookup::geodataForHostname: -->
<a name="//apple_ref/occ/clm/HostIPLookup/geodataForHostname:"></a>
<table border="0"  cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="geodataForHostname:">geodataForHostname:</a></h3>
</td></tr></table><hr><dl></dl><p>Returns the full query results for the desired hostname.
</p>
<blockquote><pre>+ (<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<!-- a logicalPath="//apple_ref/occ/instm/geodataForHostname //apple_ref/occ/clm/geodataForHostname //apple_ref/occ/intfcm/geodataForHostname //apple_ref/occ/func/geodataForHostname //apple_ref/occ/ftmplt/geodataForHostname //apple_ref/occ/defn/geodataForHostname //apple_ref/occ/macro/geodataForHostname" --><font class="function">geodataForHostname</font><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<font class="param">hostname</font>;</pre></blockquote>
<h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5>
<blockquote>
<dl>
<dt><code><i>addr</i></code></dt><dd>A hostname to lookup.</dd>
</dl>
</blockquote>
<dl></dl>
<hr><!-- headerDoc=clm;  uid=//apple_ref/occ/clm/HostIPLookup/lookupAddress:;  name=HostIPLookup::lookupAddress: -->
<a name="//apple_ref/occ/clm/HostIPLookup/lookupAddress:"></a>
<table border="0"  cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="lookupAddress:">lookupAddress:</a></h3>
</td></tr></table><hr><dl></dl><p>Returns a HostIPLookupResult object for the desired IP address.
</p>
<blockquote><pre>+ (<!-- a logicalPath="//apple_ref/occ/cl/HostIPLookupResult //apple_ref/occ/cl/HostIPLookupResult //apple_ref/occ/tdef/HostIPLookupResult //apple_ref/occ/tag/HostIPLookupResult //apple_ref/occ/econst/HostIPLookupResult //apple_ref/occ/struct/HostIPLookupResult //apple_ref/occ/clconst/HostIPLookupResult" --><font class="type">HostIPLookupResult</font><!-- /a --> <font class="type">*</font>)<!-- a logicalPath="//apple_ref/occ/instm/lookupAddress //apple_ref/occ/clm/lookupAddress //apple_ref/occ/intfcm/lookupAddress //apple_ref/occ/func/lookupAddress //apple_ref/occ/ftmplt/lookupAddress //apple_ref/occ/defn/lookupAddress //apple_ref/occ/macro/lookupAddress" --><font class="function">lookupAddress</font><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString" --><font class="type">NSString</font><!-- /a --> <font class="type">*</font>)<font class="param">addr</font>;</pre></blockquote>
<h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5>
<blockquote>
<dl>
<dt><code><i>addr</i></code></dt><dd>The IP address you desire to lookup.</dd>
</dl>
</blockquote>
<dl></dl>
<hr><!-- headerDoc=clm;  uid=//apple_ref/occ/clm/HostIPLookup/lookupAddresses:;  name=HostIPLookup::lookupAddresses: -->
<a name="//apple_ref/occ/clm/HostIPLookup/lookupAddresses:"></a>
<table border="0"  cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5"><h3><a name="lookupAddresses:">lookupAddresses:</a></h3>
</td></tr></table><hr><dl></dl><p>Returns a HostIPLookupResult objects array for the desired IP addresses.
</p>
<blockquote><pre>+ (<!-- a logicalPath="//apple_ref/occ/cl/NSArray //apple_ref/occ/cl/NSArray //apple_ref/occ/tdef/NSArray //apple_ref/occ/tag/NSArray //apple_ref/occ/econst/NSArray //apple_ref/occ/struct/NSArray //apple_ref/occ/clconst/NSArray" --><font class="type">NSArray</font><!-- /a --> <font class="type">*</font>)<!-- a logicalPath="//apple_ref/occ/instm/lookupAddresses //apple_ref/occ/clm/lookupAddresses //apple_ref/occ/intfcm/lookupAddresses //apple_ref/occ/func/lookupAddresses //apple_ref/occ/ftmplt/lookupAddresses //apple_ref/occ/defn/lookupAddresses //apple_ref/occ/macro/lookupAddresses" --><font class="function">lookupAddresses</font><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/NSArray //apple_ref/occ/cl/NSArray //apple_ref/occ/tdef/NSArray //apple_ref/occ/tag/NSArray //apple_ref/occ/econst/NSArray //apple_ref/occ/struct/NSArray //apple_ref/occ/clconst/NSArray" --><font class="type">NSArray</font><!-- /a --> <font class="type">*</font>)<font class="param">addrs</font>;</pre></blockquote>
<h5><font face="Lucida Grande,Helvetica,Arial">Parameter Descriptions</font></h5>
<blockquote>
<dl>
<dt><code><i>addrs</i></code></dt><dd>An array of IP addresses you desire to lookup.</dd>
</dl>
</blockquote>
<dl></dl>
<p>(Last Updated April 29, 2008)
</p></body></html>
